import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import get from '@feidao/web/atom/browser/global/get';
import fire_component_msg from '@feidao/web/atom/browser/fsm/fire-component-msg';

export default async function (fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	console.log('删除');
	const del_data = get("del_data") || [];
	if (del_data.length == 0) {
		fire_component_msg('zj-common-002', 'ec-001', 'fail', '请先选中一条数据');
		return;
	}
	const param = {
		component_no: 'zj-h5manage-001',
		event_no: 'ec-001'
	}
	fire_component_msg('zj-common-001', 'ec-001', param);
}
